#pragma once
#include "Markup.h"

class CSprite
{
public:
    CSprite(void);
    CSprite(CPoint& position);
    virtual ~CSprite(void);

    CPoint GetPosition();
    void Serialize(CString& strMessage, CString& strClassName);
    BOOL Deserialize(CString& strMessage, CString& strClassName);
    virtual void Draw();
    virtual void Move();
    virtual void SerializeSubClass(CMarkup& xmlMessage);
    virtual BOOL DeSerializeSubClass(CMarkup& xmlMessage);

protected:
    CPoint m_position;
    CSize m_size;
};
